package com.itheima.mapper;

import com.itheima.domain.Permission;

import java.util.List;

public interface PermissionMapper {
    void edit(Permission permission);

    List<Permission> findAll();

    void delete(String[] id);

    Permission findById(String id);

    void add(Permission permission);

    List<Permission> findByRole(String id);
}
